﻿@{
    Post post = ViewBag.Post;
    User user = ViewBag.User;
    Layout = "_Layout.cshtml";
}
<div class="content-wrap">
    <div class="content">
        <header class="article-header">
            <h1 class="article-title"><a href="@post.Link">@post.Title</a></h1>
            <div class="meta">
                <span class="muted"><i class="icon-list-alt icon12"></i>@post.Categorys.ToHtml(Url, "<a href=\"{0}\">{1}</a>", TermType.PostCategory, "、")</span>
                <span class="muted"><i class="icon-user icon12"></i><a href="@user.Link">@user.NickName</a></span>
                <time class="muted"><i class="icon-time icon12"></i>@post.PubDate.ToString("yyyy-MM-dd")</time>
                <span class="muted"><i class="icon-eye-open icon12"></i>@post.ViewCount 浏览</span>
                <span class="muted"><i class="icon-comment icon12"></i><a href="@post.Link#comments">@post.CommentCount 评论</a></span>
            </div>
        </header>
        <div class="banner banner-post">
            <div style="text-align: left; padding-left: 20px; margin: 5px 0 -5px;">
                <!-- 广告位：文章02 -->
            </div>
        </div>
        <article class="article-content">
            @Html.Raw(post.Content)
            <p>转载请注明：@Html.ActionLink(Setting.SiteName, "Index", "Blog") &raquo; <a href="@post.Link">@post.Title</a></p>
        </article>
        <footer class="article-footer">
            <div class="article-tags">继续浏览有关 @post.Tags.ToHtml(Url, "<a href=\"{0}\" target=\"_blank\">{1}</a>", TermType.Default, " ") 的文章</div>
            <div class="share">
                <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare"><span class="bds_more">分享到：</span><a class="bds_qzone"></a><a class="bds_tsina"></a><a class="bds_tqq"></a><a class="bds_renren"></a><a class="bds_t163"></a><a class="shareCount"></a></div>
                <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=6550582"></script>
                <script type="text/javascript" id="bdshell_js"></script>
                <script type="text/javascript">document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date() / 3600000)</script>
            </div>
        </footer>
        <nav class="article-nav">
            <span class="article-nav-prev">上一篇 @(post.Around.Previous != null ? Html.ActionLink(post.Around.Previous.Title, "Detail", "Blog", new { item = post.Around.Previous.Slug }, new { rel = "prev" }) : new MvcHtmlString("没有了"))</span>
            <span class="article-nav-next">@(post.Around.Next != null ? Html.ActionLink(post.Around.Next.Title, "Detail", "Blog", new { item = post.Around.Next.Slug }, new { rel = "next" }) : new MvcHtmlString("没有了")) 下一篇</span>
        </nav>
        <div class="relates">
            <h3>与本文相关的文章</h3>
            @*<ul>
                        <li><a href="http://www.daqianduan.com/360buy-ued-job/">
                            <img src="http://www.daqianduan.com/wp-content/uploads/2012/12/360buy.png" alt="京东商城UED招聘前端开发" /><br>
                            京东商城UED招聘前端开发</a></li>
                        <li><a href="http://www.daqianduan.com/alipay-designer-job/">
                            <img src="http://www.daqianduan.com/wp-content/uploads/2013/09/alipay.png" alt="支付宝招募资深交互设计师、视觉设计师（内部直招）" /><br>
                            支付宝招募资深交互设计师、视觉设计师（内部直招）</a></li>
                        <li><a href="http://www.daqianduan.com/okhqb-job/">
                                <img src="http://www.daqianduan.com/wp-content/uploads/2013/08/huaqiangbei.png" alt="华强北商城招聘前端开发工程师" /><br>
                                华强北商城招聘前端开发工程师</a></li>
                        <li><a href="http://www.daqianduan.com/ctrip-front-job/">
                                <img src="http://www.daqianduan.com/wp-content/uploads/2013/06/ctrip-140x98.png" alt="携程(上海)框架研发部招开发工程师(偏前端)" /><br>
                                携程(上海)框架研发部招开发工程师(偏前端)</a></li>
                    </ul>*@
        </div>
        @*<div class="banner banner-related">
                    <div style="margin-bottom: -6px;">
                        <!--广告位-->
                    </div>
                </div>*@
        @Include("_Comment")
    </div>
</div>
@Include("_SideBar")
@section JsSetting{
    <script>
        window._wedn = {
            name: '斯通麦博',
            url: 'http://www.wedn.net',
            rss: 'http://www.wedn.net',
            maillist: 'off',
            maillistCode: '',
            commenton: 1,
            roll: []
        }
    </script>
}